using PandaWebAPI.Models.ef;

namespace PandaWebAPI.Services
{
    public interface IPostService : IBaseService<Post>
    {
        Task<List<Post>> GetPostsByUserIdAsync(Guid userId);
        Task<List<Post>> GetPostsByCategoryIdAsync(Guid categoryId);
        Task<List<Post>> GetPostsByTagIdAsync(Guid tagId);
        Task<Post> IncrementViewCountAsync(Guid postId);
        Task<Post> SoftDeleteAsync(Guid postId);
        Task<List<Post>> GetActivePostsAsync();
        Task<List<Post>> SearchPostsAsync(string searchTerm);
    }
} 